apt-get update && apt-get install -y curl vim net-tools openssh-server openssh-client
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
# 容器启动后到容器实例的命令行去执行
service ssh restart
# 密码设置为123456
passwd root
# 查看网络IP
ifconfig